package com.beidasoft.web.vo.caseCheck;

import com.beidasoft.web.model.caseCheck.CaseCheckBatchInfo;

import java.util.List;

/**
 * Created by hoax on 2016/5/27.
 */
public class CaseCheckBatchInfoBean extends CaseCheckBatchInfo{
    private String administrative;          //行政区划
    private String orgIdCondition;          //抽取案卷部门ID条件
    private List<String> CaseIdList;        //批次案卷信息
    private Boolean isCityOrgFlag;          //是否市级部门
    private Integer caseSelectFlag;         //抽取案件起始位置
    private Integer caseSelectNum;          //抽取案件数量
    private Integer createBatchOrgRank;
    private Integer caseAdministrative;
    private Integer cityDeptLevel;
    private String[] secondLevelOrgList;
    private Integer isSupervise;

    private Integer start;
    private Integer end;
    private Integer length;
    private String checkOrgId;
    private String  decisionBookNumber;//处罚决定文书号
    private String  caseCheckYear;//评查年份
    private String punishDept;//处罚部门ID
    private Boolean isInnerFlag;  //是否是内设机构 1:是
   private String authority; //职权
    private Integer isCityManageFlag; //是否是城管部门 1:是
    private String administrativeDivision;

    public String getAdministrativeDivision() {
        return administrativeDivision;
    }

    public void setAdministrativeDivision(String administrativeDivision) {
        this.administrativeDivision = administrativeDivision;
    }

    private String deptCode;
    //0浏览全市,区数据角色使用
    private String urlFlag;
    //市级部门管理员 1，区级部门管理员 2
    private String adminFlag;

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getUrlFlag() {
        return urlFlag;
    }

    public void setUrlFlag(String urlFlag) {
        this.urlFlag = urlFlag;
    }

    public String getAdminFlag() {
        return adminFlag;
    }

    public void setAdminFlag(String adminFlag) {
        this.adminFlag = adminFlag;
    }

    public String getDecisionBookNumber() {
        return decisionBookNumber;
    }

    public void setDecisionBookNumber(String decisionBookNumber) {
        this.decisionBookNumber = decisionBookNumber;
    }

    public String getCaseCheckYear() {
        return caseCheckYear;
    }

    public void setCaseCheckYear(String caseCheckYear) {
        this.caseCheckYear = caseCheckYear;
    }

    public String getPunishDept() {
        return punishDept;
    }

    public void setPunishDept(String punishDept) {
        this.punishDept = punishDept;
    }

    public void copyParent(CaseCheckBatchInfo caseCheckBatchInfo){
        setId(caseCheckBatchInfo.getId());
        setCreateOrgId(caseCheckBatchInfo.getCreateOrgId());
        setArea(caseCheckBatchInfo.getArea());
        setCaseCloseDateStart(caseCheckBatchInfo.getCaseCloseDateStart());
        setCaseCloseDateEnd(caseCheckBatchInfo.getCaseCloseDateEnd());
        setCreateDateStart(caseCheckBatchInfo.getCreateDateStart());
        setCreateDateEnd(caseCheckBatchInfo.getCreateDateEnd());
        setCheckMode(caseCheckBatchInfo.getCheckMode());
        setCheckType(caseCheckBatchInfo.getCheckType());
        setCityDepartment(caseCheckBatchInfo.getCityDepartment());
        setHistoryCheckDateStart(caseCheckBatchInfo.getHistoryCheckDateStart());
        setHistoryCheckDateEnd(caseCheckBatchInfo.getHistoryCheckDateEnd());
        setIsSelfCheck(caseCheckBatchInfo.getIsSelfCheck());
        String secondLevelOrgIds = caseCheckBatchInfo.getSecondLevelOrgId();
        if(secondLevelOrgIds != null && !secondLevelOrgIds.equals("")) {
            String[] secondLevelOrgIdList = secondLevelOrgIds.split(",");
            setSecondLevelOrgList(secondLevelOrgIdList);
        }
    }
    public String getAdministrative() {
        return administrative;
    }

    public void setAdministrative(String administrative) {
        this.administrative = administrative;
    }

    public String getOrgIdCondition() {
        return orgIdCondition;
    }

    public void setOrgIdCondition(String orgIdCondition) {
        this.orgIdCondition = orgIdCondition;
    }

    public List<String> getCaseIdList() {
        return CaseIdList;
    }

    public void setCaseIdList(List<String> caseIdList) {
        CaseIdList = caseIdList;
    }

    public Boolean getCityOrgFlag() {
        return isCityOrgFlag;
    }

    public void setCityOrgFlag(Boolean cityOrgFlag) {
        isCityOrgFlag = cityOrgFlag;
    }

    public Integer getCaseSelectFlag() {
        return caseSelectFlag;
    }

    public void setCaseSelectFlag(Integer caseSelectFlag) {
        this.caseSelectFlag = caseSelectFlag;
    }

    public Integer getCaseSelectNum() {
        return caseSelectNum;
    }

    public void setCaseSelectNum(Integer caseSelectNum) {
        this.caseSelectNum = caseSelectNum;
    }

    @Override
    public Integer getCreateBatchOrgRank() {
        return createBatchOrgRank;
    }

    @Override
    public void setCreateBatchOrgRank(Integer createBatchOrgRank) {
        this.createBatchOrgRank = createBatchOrgRank;
    }

    public Integer getCaseAdministrative() {
        return caseAdministrative;
    }

    public void setCaseAdministrative(Integer caseAdministrative) {
        this.caseAdministrative = caseAdministrative;
    }

    public Integer getCityDeptLevel() {
        return cityDeptLevel;
    }

    public void setCityDeptLevel(Integer cityDeptLevel) {
        this.cityDeptLevel = cityDeptLevel;
    }

    public String[] getSecondLevelOrgList() {
        return secondLevelOrgList;
    }

    public void setSecondLevelOrgList(String[] secondLevelOrgList) {
        this.secondLevelOrgList = secondLevelOrgList;
    }

    public Integer getIsSupervise() {
        return isSupervise;
    }

    public void setIsSupervise(Integer isSupervise) {
        this.isSupervise = isSupervise;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getEnd() {
        return end;
    }

    public void setEnd(Integer end) {
        this.end = end;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public String getCheckOrgId() {
        return checkOrgId;
    }

    public void setCheckOrgId(String checkOrgId) {
        this.checkOrgId = checkOrgId;
    }

    public Boolean getInnerFlag() {
        return isInnerFlag;
    }

    public void setInnerFlag(Boolean innerFlag) {
        isInnerFlag = innerFlag;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public Integer getIsCityManageFlag() {
        return isCityManageFlag;
    }

    public void setIsCityManageFlag(Integer isCityManageFlag) {
        this.isCityManageFlag = isCityManageFlag;
    }
}
